"""
piramida
"""

def piramida(olma):
    """
    piramida
    """
    for i in range(1, olma + 1):
        if i % 2 == 1:
            print((i * '$').center(olma*2))

